//
//  HBQHomeTableViewCell.m
//  HelloBeeQuick
//
//  Created by LiYiLin on 16/8/21.
//  Copyright © 2016年 LiYiLin. All rights reserved.
//

#import "HBQHomeTableViewCell.h"
#import <Masonry/Masonry.h>

@interface HBQHomeTableViewCell()

@property (nonatomic, strong) UIImageView * cellImageView;

@property (nonatomic, strong) NSArray * activitesArray;

@end

@implementation HBQHomeTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {

    if(self == [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self setup_Cell];
    }
    return self;
}

- (void)setup_Cell {
    
    [self.contentView addSubview:self.cellImageView];
    
    [self.cellImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.left.mas_equalTo(self.contentView).offset(10);
        make.bottom.right.mas_equalTo(self.contentView).offset(-10);
    }];

}

- (UIImageView *)cellImageView {

    if (!_cellImageView) {
        _cellImageView = [[UIImageView alloc] init];
    }
    return _cellImageView;
}

@end
